//
//  ILVideoViewProtocol.h
//  IMIHome
//
//  Created by 严敏 on 2020/9/27.
//  Copyright © 2020 上海创米科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ILVideoEnum.h"

NS_ASSUME_NONNULL_BEGIN

@protocol ILVideoViewProtocol <NSObject>
//连接状态
- (void)playerConnectState:(ILPlayerState)state;
//报错
- (void)playerError:(NSError *)error;
//播放时的bps
- (void)playerBitRate:(NSInteger)bitrate;
//播放位置（未发现使用）
- (void)playerPosition:(NSInteger)position;

//返回录制时间
- (void)playerRecordTimeBack:(NSInteger)recordTime;
//播放状态反馈
- (void)playerState:(ILPlayerState)playerState;
//播放事件返回
- (void)playerEventType:(ILPlayerEventCode)playerType info:(NSDictionary *)info;
//播放错误返回
- (void)playerErrorCode:(ILPlayerErrorCode)code error:(NSError *)error;

@end

NS_ASSUME_NONNULL_END
